]> dgit.raspbian.org Git - gnome-shell.git/commit
js: Use gjs-defined GObject accessors where possible
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 30 Jan 2021 00:03:04 +0000 (01:03 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 3 Feb 2021 19:19:29 +0000 (20:19 +0100)
commit0f1b566918e7aa5a57397ce903b8fb107d00e0ff
tree8f8f130e42d88ab40262b404f0351447be968048
parenta41e294e21e357e661ac9c60b12590e00c2e4ef9
js: Use gjs-defined GObject accessors where possible

Nowadays gjs allows to omit get/set accessors for read-write properties,
and will define reasonable defaults in that case. In many cases we don't
need anything more than the default handling, let gjs handle those props.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1611>
js/ui/iconGrid.js
js/ui/lightbox.js
js/ui/messageTray.js
js/ui/padOsd.js
js/ui/swipeTracker.js